import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ProfitController } from './profit.controller';
import { Profit } from './profit.entity';
import { ProfitService } from './profit.service';

import { WxUser } from '../wxUser/wxUser.entity';
import { WxUserService } from '../wxUser/wxUser.service';
import { WxUserController } from '../wxUser/wxUser.controller';

import { Answer } from '../answer/answer.entity';
import { AnswerService } from '../answer/answer.service';
import { MultiImg } from '../multiImg/multiImg.entity';
import { MultiImgController } from '../multiImg/multiImg.controller';
import { MultiImgService } from '../multiImg/multiImg.service';
import { AnswerInfo } from '../answerInfo/answerInfo.entity';
import { AnswerInfoService } from '../answerInfo/answerInfo.service';
import { Platform } from '../platform/platform.entity';
import { WxUserOpenIdService } from '../wxUserOpenId/wxUserOpenId.service';
import { WxUserOpenId } from '../wxUserOpenId/wxUserOpenId.entity';
import { Video } from '../video/video.entity';
import { Notices } from '../notices/notices.entity';
import { LikeVideo } from '../likeVideo/likeVideo.entity';
import { ProfitControllerBackground } from './profit.controller.background';
import { UserService } from '../user/user.service';
import { User } from '../user/user.entity';
import { Reward } from '../reward/reward.entity';
import { UserSetting } from '../userSetting/userSetting.entity';
import { UnConcern } from '../unconcern/unconcern.entity';
import { Questions } from '../questions/questions.entity';
import { RewardSuccess } from '../rewardSuccess/rewardSuccess.entity';
import { AnswerIdCard } from '../answerIdCard/answerIdCard.entity';
import { TraceRelaTable } from '../traceRelaTable/traceRelaTable.entity';
import { AnswerReportErrors } from '../answerReportErrors/answerReportErrors.entity';
import { ProfitRefund } from '../profitRefund/profitRefund.entity';
import { InternetCelebrity } from '../internetCelebrity/internetCelebrity.entity';
import { InternetCelebrityGroup } from '../internetCelebrityGroup/internetCelebrityGroup.entity';
import { ProfitUnLockHome } from '../profitUnLockHome/profitUnLockHome.entity';
import { RejectReason } from '../rejectReason/rejectReason.entity';
import { Setting } from '../setting/setting.entity';


@Module({
  imports: [TypeOrmModule.forFeature([Profit, WxUser, Answer, MultiImg, AnswerInfo, Platform, WxUserOpenId, Video, Notices, LikeVideo, User, Reward, UserSetting
    , UnConcern, Questions, RewardSuccess, AnswerIdCard, TraceRelaTable, AnswerReportErrors, ProfitRefund, InternetCelebrity, InternetCelebrityGroup, ProfitUnLockHome
    , RejectReason, Setting])],
  controllers: [ProfitController,WxUserController, ProfitControllerBackground],
  providers: [ProfitService, WxUserService, AnswerService, MultiImgService, AnswerInfoService, WxUserOpenIdService, UserService],
})
export class ProfitModule {}
